﻿<%@ Page Title="" Language="C#" AutoEventWireup="true"  CodeFile="RetailEdit.aspx.cs" Inherits="MastData_CustomerEdit" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Customer</title>
    <script type="text/javascript">
        function Edit(n) {
            gridEdit.PerformCallback("Edit#" + n);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <wilson:DataSource ID="dsList" runat="server" ObjectSpace="Touchmax.Manager.ORManager" TypeName="Touchmax.BoClient" KeyMember="CustId" FilterExpression="1=1" />
    <wilson:DataSource ID="dsEdit" runat="server" ObjectSpace="Touchmax.Manager.ORManager" TypeName="Touchmax.BoClient" KeyMember="CustId" FilterExpression="1=0" />
    <wilson:DataSource ID="dsEmployee" runat="server" ObjectSpace="Touchmax.Manager.ORManager" TypeName="Touchmax.BoClientContact" KeyMember="EmployeeId" FilterExpression="1=0" />
    <asp:ScriptManager ID="ScriptManager" runat="server">  </asp:ScriptManager>
    
    <div>
    <table cellspacing="4">
    <tr>
    <td width="750" valign="top">
    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
        <ContentTemplate>
   
        <table>
        <tr>
            <td width=210>
                        <dxe:ASPxTextBox ID="txt_Name" Width="200" runat="server">
                        </dxe:ASPxTextBox>
            </td>
            <td width=540>
                        <dxe:ASPxButton ID="btn_Search" runat="server" Text="Search" OnClick="btn_Search_Click">
                        </dxe:ASPxButton>
            </td>
        </tr>
        <tr>
        <td colspan="2">

        <dxwgv:ASPxGridView ID="gridList" ClientInstanceName="gridList" runat="server" DataSourceID="dsList" EnableCallBacks="False"
            Width="740" KeyFieldName="CustId" Settings-VerticalScrollableHeight="300" AutoGenerateColumns="False" OnInit="gridList_Init">
            <SettingsPager PageSize="20" >
            </SettingsPager>
            <Settings ShowFilterRow="false" />
            <Columns>
                <dxwgv:GridViewDataTextColumn Caption="Code" FieldName="CustId" VisibleIndex="1" Width="60">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="Name" FieldName="Name" VisibleIndex="2">
                <DataItemTemplate>
                    <a href="javascript:Edit(<%# Eval("CustId") %>)"><%# Eval("Name") %></a>
                </DataItemTemplate>
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="Tel" FieldName="Tel1" VisibleIndex="3">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="Fax" FieldName="Fax1" VisibleIndex="4">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="Email" FieldName="Email1" VisibleIndex="5">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="Owner" FieldName="Contact1" VisibleIndex="6">
                </dxwgv:GridViewDataTextColumn>
            </Columns>
        </dxwgv:ASPxGridView>

        </td>
        </tr>
        </table>


        </ContentTemplate>
    </asp:UpdatePanel>
    </td>
    <td width="450"  valign="top">
    <asp:UpdatePanel ID="UpdatePanel3" runat="server">
        <ContentTemplate>
   

        <table>
        <tr>
     <td width=120>
                    <dxe:ASPxButton ID="ASPxButton1" Width="90" runat="server" Text="Add Customer" AutoPostBack="false">
                        <ClientSideEvents Click="function(s,e){
                                gridEdit.AddNewRow();
                                }" />
                    </dxe:ASPxButton>
        </td>
        <td width=120>

                    <dxe:ASPxButton ID="ASPxButton3" Width="150" runat="server" Text="Save Customer" AutoPostBack="false">
                        <ClientSideEvents Click="function(s,e){
                                gridEdit.AddNewRow();
                                }" />
                    </dxe:ASPxButton>
                </td>
        <td width="300" align="right" >

                    <dxe:ASPxButton ID="ASPxButton4" Width="150" runat="server" Text="Deactivate Customer" AutoPostBack="false">
                        <ClientSideEvents Click="function(s,e){
                                gridEdit.AddNewRow();
                                }" />
                    </dxe:ASPxButton>

        </td>
        </tr>
        <tr>
        <td colspan="3">

        
                <dxwgv:ASPxGridView ID="gridEdit" ClientInstanceName="gridEdit" runat="server" DataSourceID="dsEdit"
            Width="450" KeyFieldName="CustId" AutoGenerateColumns="False" OnInit="gridEdit_Init" EnableCallBacks="False"
            OnInitNewRow="gridEdit_InitNewRow" OnRowInserting="gridEdit_RowInserting"
            OnRowInserted="gridEdit_RowInserted" OnRowUpdating="gridEdit_RowUpdating"
            OnRowDeleting="gridEdit_RowDeleting" OnCustomDataCallback="gridEdit_CustomDataCallback" OnCustomCallback="gridEdit_CustomCallback">
            <SettingsPager PageSize="1">
            </SettingsPager>
            <SettingsEditing Mode="EditForm" />
            <Settings ShowFilterRow="false" ShowFooter="false" ShowTitlePanel="true" ShowColumnHeaders="false"   />
            <SettingsBehavior ConfirmDelete="True" />
            <Columns>
                    <dxwgv:GridViewCommandColumn Width="100">
                    <EditButton Visible="True" />
                    <DeleteButton Visible="true" />
                </dxwgv:GridViewCommandColumn>
                <dxwgv:GridViewDataTextColumn Caption="Id" FieldName="CustId" VisibleIndex="1" Width="100">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="Name" FieldName="Name" VisibleIndex="2">
                </dxwgv:GridViewDataTextColumn>
            </Columns>
            <Templates>
                <DataItem>
                        <table width="450" cellpadding="4">
                            <tr>
                                <td width=90>
                                    Customer Name
                                </td>
                                <td width=180>
                                    <dxe:ASPxTextBox ID="ASPxTextBox23" runat="server" Width="100%" Value='<%# Eval("Code") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                                <td width=70>
                                    Customer Code
                                </td>
                                <td width=200>
                                <table border=0 cellpadding=0 cellspacing=0>
                                <tr>
                                <td width="80">
                                <dxe:ASPxTextBox ID="ASPxTextBox6" Enabled="true" runat="server" Width="80%" Value='<%# Eval("CustId") %>'>
                                </dxe:ASPxTextBox>
                                </td>
                                <td align="right" >
                                <dxe:ASPxComboBox ID="ASPxComboBox2" Width="90" runat="server" >
                                                    <Items>
                                                    <dxe:ListEditItem Text="Workshop" Value="jerry" />
                                                    <dxe:ListEditItem Text="Regional" Value="alex" />
                                                    <dxe:ListEditItem Text="Mobile" Value="don" />
                                                    </Items>
                                </dxe:ASPxComboBox>
                                </td>
                                </tr>
                                </table>
                                
                                </td>
                            <tr>
                            </table>

                </DataItem>
                <EditForm>
                     <dxtc:ASPxPageControl runat="server" ID="pageControl" width="100%">
                        <tabpages>
                                
                                 <dxtc:TabPage Text="Customer Information" Name="Sch" Visible="true">
                                    <ContentCollection>
                                        <dxw:ContentControl ID="ContentControl1" runat="server">
                   <div style="padding: 4px 4px 3px 4px">
                        <table width="600" cellpadding="4">
                            <tr>
                                <td width=90>
                                    Customer Name
                                </td>
                                <td width=180>
                                    <dxe:ASPxTextBox ID="ASPxTextBox23" runat="server" Width="100%" Value='<%# Eval("Code") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                                <td width=70>
                                    Customer Code
                                </td>
                                <td width=200>
                                <table border=0 cellpadding=0 cellspacing=0>
                                <tr>
                                <td width="80">
                                <dxe:ASPxTextBox ID="ASPxTextBox6" Enabled="true" runat="server" Width="80%" Value='<%# Eval("CustId") %>'>
                                </dxe:ASPxTextBox>
                                </td>
                                <td align="right" >
                                <dxe:ASPxComboBox ID="ASPxComboBox2" Width="90" runat="server" >
                                                    <Items>
                                                    <dxe:ListEditItem Text="Workshop" Value="jerry" />
                                                    <dxe:ListEditItem Text="Regional" Value="alex" />
                                                    <dxe:ListEditItem Text="Mobile" Value="don" />
                                                    </Items>
                                </dxe:ASPxComboBox>
                                </td>
                                </tr>
                                </table>
                                
                                </td>
                            <tr>
                            
                            <tr>
                            <td colspan="6">
                            <hr />
                            </td>
                            </tr>
                            <tr>
                                <td>
                                    Service Address
                                </td>
                                <td colspan="3">
                                    <dxe:ASPxTextBox ID="ASPxTextBox3" runat="server" Width="100%" Value='<%# Eval("Address") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    
                                </td>
                                <td colspan="3">
                                    <dxe:ASPxTextBox ID="ASPxTextBox2" runat="server" Width="100%" >
                                    </dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                            <td>City</td>
                            <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox4" runat="server" Width="100%" >
                                    </dxe:ASPxTextBox></td>
                             <td>Province</td><td>

                             <table border=0 cellspacing=0 cellpadding=0>
                             <tr>
                             <td width=70>
                             <dxe:ASPxTextBox ID="ASPxTextBox51" runat="server" Width="100%" >
                             </dxe:ASPxTextBox>
                             </td>
                             <td width=60>&nbsp;&nbsp;Postal</td>
                             <td width=70>
                             <dxe:ASPxTextBox ID="ASPxTextBox5" runat="server" Width="100%" >
                             </dxe:ASPxTextBox>
                             </td>
                             </tr>
                             </table>

                                    </td></tr>
                            <tr>
                                <td>
                                    Telephone
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox8" runat="server" Width="100%" Value='<%# Eval("Tel1") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                                <td>
                                    Fax
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox9" runat="server" Width="100%" Value='<%# Eval("Fax1") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                Telephone 2
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox12" runat="server" Width="100%" Value='<%# Eval("Tel2") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                                <td>
                                Fax 2
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox13" runat="server" Width="100%" Value='<%# Eval("Fax2") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Contact
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox10" runat="server" Width="100%" Value='<%# Eval("Contact1") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                                <td>
                                    Email
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox11" runat="server" Width="100%" Value='<%# Eval("Email1") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                            <td colspan="6">
                            <hr />
                            </td>
                            </tr>
                            
                            <tr>
                                <td>
                                    Bill Address
                                </td>
                                <td colspan="3">
                                    <dxe:ASPxTextBox ID="ASPxTextBox16" runat="server" Width="100%">
                                    </dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    
                                </td>
                                <td colspan="3">
                                    <dxe:ASPxTextBox ID="ASPxTextBox17" runat="server" Width="100%" >
                                    </dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                            <td>City</td>
                            <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox19" runat="server" Width="100%" >
                                    </dxe:ASPxTextBox></td>
                             <td>Province</td><td>

                             <table border=0 cellspacing=0 cellpadding=0>
                             <tr>
                             <td width=70>
                             <dxe:ASPxTextBox ID="ASPxTextBox20" runat="server" Width="100%" >
                             </dxe:ASPxTextBox>
                             </td>
                             <td width=60>&nbsp;&nbsp;Postal</td>
                             <td width=70>
                             <dxe:ASPxTextBox ID="ASPxTextBox22" runat="server" Width="100%" >
                             </dxe:ASPxTextBox>
                             </td>
                             </tr>
                             </table>

                                    </td></tr>
                            <tr>
                                <td>
                                    Telephone
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox24" runat="server" Width="100%" Value='<%# Eval("Tel1") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                                <td>
                                    Fax
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox25" runat="server" Width="100%" Value='<%# Eval("Fax1") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox26" runat="server" Width="100%" Value='<%# Eval("Tel2") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                                <td>
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox27" runat="server" Width="100%" Value='<%# Eval("Fax2") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Contact
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox28" runat="server" Width="100%" Value='<%# Eval("Contact1") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                                <td>
                                    Email
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox29" runat="server" Width="100%" Value='<%# Eval("Email1") %>'>
                                    </dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                            <td colspan="6">
                            <hr />
                            </td>
                            </tr>
                            <tr>
                                <td>
                                    Remarks
                                </td>
                                <td colspan="3">
                                    <dxe:ASPxMemo ID="ASPxTextBox18" Rows="3" runat="server" Width="100%" Value='<%# Eval("Remark") %>'>
                                    </dxe:ASPxMemo>
                            </tr>
                            
                            <tr>
                                <td>
                                   Updated by
                                </td>
                                <td>
                                
                                    <table><tr>
                                    <td><dxe:ASPxTextBox ID="ASPxTextBox14" runat="server" Width="60" Text='<%# Eval("UserId") %>' ReadOnly="true" BackColor="Control">
                                        </dxe:ASPxTextBox>
                                    </td>
                                    <td><dxe:ASPxTextBox ID="ASPxTextBox15" runat="server" Width="100" Text='<%# Eval("EntryDate","{0:dd/MM/yyyy HH:mm}") %>' ReadOnly="true" BackColor="Control">
                                        </dxe:ASPxTextBox>
                                    </td>
                                     </tr></table>
                                 </td>
                                 <td align="right" colspan=2>
                                    <table>
                                    <tr>
                                    <td align=right width=100>

                                <dxe:ASPxButton ID="btn_Save" Width="80" runat="server" Text="Save" AutoPostBack="false">
                                <ClientSideEvents Click="function(s,e){
                                gridEdit.PerformCallback('Save');
                                }" />
                                </dxe:ASPxButton>

                                    </td>
                                    <td align=right width=100>

                                   <%-- <dxe:ASPxButton ID="ASPxButton2" Width="80" runat="server" Text="Cancel" AutoPostBack="false">
                                <ClientSideEvents Click="function(s,e){
                                gridEdit.CancelEdit();
                                }" />
                                </dxe:ASPxButton>--%>

                                    </td>
                                    
                                    </tr>
                                    </table>
                                 </td>
                            <tr>
                            <td colspan="2"></td>
                                <td style="text-align: right; padding: 2px 2px 2px 2px">
                                </td>
                                <td style="text-align: right; padding: 2px 2px 2px 2px">
                                
                                </td>
                            </tr>
                        </table>
                    </div>
                                       </dxw:ContentControl>
                                    </ContentCollection>
                                </dxtc:TabPage>
                                 <dxtc:TabPage Text="Employee" Name="Employee " Visible="true">
                                    <ContentCollection>
                                        <dxw:ContentControl runat="server">
                                    <dxe:ASPxButton ID="ASPxButton10" Width="100" runat="server" Text="Add Employee" Enabled='<%#SafeValue.SafeString(Eval("CustId"),"0")!="0" %>' AutoPostBack="false" UseSubmitBehavior="false" >
                                    <ClientSideEvents Click="function(s,e) {
                                    grd_Cont.AddNewRow();
                                    }" />
                                    </dxe:ASPxButton>
                                        
                                            <dxwgv:ASPxGridView ID="grd_Cont" ClientInstanceName="grd_Cont" runat="server"
                                                DataSourceID="dsEmployee" KeyFieldName="EmployeeId" Width="100%"
                                                            OnBeforePerformDataSelect="grd_Cont_BeforePerformDataSelect"  
                                                            oninit="grd_Cont_Init"
                                                            OnInitNewRow="grd_Cont_InitNewRow" OnRowInserting="grd_Cont_RowInserting"
                                                            OnRowUpdating="grd_Cont_RowUpdating" 
                                                            onrowinserted="grd_Cont_RowInserted" 
                                                            onrowupdated="grd_Cont_RowUpdated">
                                                            <SettingsBehavior ConfirmDelete="True" />
                                                            <SettingsPager Mode="ShowAllRecords">
                                                            </SettingsPager>
                                                            <SettingsEditing Mode="EditForm" />
                                                <Columns>
                                                    <dxwgv:GridViewCommandColumn VisibleIndex="0" width="5%">
                                                        <EditButton Text="Edit" Visible="True" />
                                                    </dxwgv:GridViewCommandColumn>
                                                    <dxwgv:GridViewCommandColumn width="5%">
                                                        <DeleteButton Visible="true" />
                                                    </dxwgv:GridViewCommandColumn>
                                                                <dxwgv:GridViewDataColumn FieldName="FullName" Caption="FirstName" VisibleIndex="1" Width="70">
                                                                </dxwgv:GridViewDataColumn>
                                                                <dxwgv:GridViewDataColumn FieldName="JobTitle" Caption="JobTitle" VisibleIndex="1" Width="70">
                                                                </dxwgv:GridViewDataColumn>
                                                                <dxwgv:GridViewDataColumn FieldName="Department" Caption="Department" VisibleIndex="1" Width="70">
                                                                </dxwgv:GridViewDataColumn>
                                                                <dxwgv:GridViewDataColumn FieldName="Tel" Caption="Tel" VisibleIndex="1" Width="70">
                                                                </dxwgv:GridViewDataColumn>
                                                                <dxwgv:GridViewDataColumn FieldName="Mobile" Caption="Mobile" VisibleIndex="1" Width="70">
                                                                </dxwgv:GridViewDataColumn>
                                                </Columns>
                                                <Templates>
                                                <EditForm>
                                                        <table style="text-align: right; padding: 2px 2px 2px 2px;width:600">
                                                        <tr>
                                                        <td width="70%">
                                                                    </td><td>
                                                                    <dxe:ASPxButton ID="ASPxButton4" Width="100" runat="server" Text="Save & Close"  AutoPostBack="false" UseSubmitBehavior="false" >
                                                                    <ClientSideEvents Click="function(s,e) {
                                                                    grd_Cont.UpdateEdit();
                                                                    }" />
                                                                    </dxe:ASPxButton></td><td>
                                                                    <dxe:ASPxButton ID="ASPxButton5" Width="100" runat="server" Text="Close" AutoPostBack="false" UseSubmitBehavior="false" >
                                                                    <ClientSideEvents Click="function(s,e) {
                                                                    grd_Cont.CancelEdit();
                                                                    }" />
                                                                    </dxe:ASPxButton>
                                                           </td></tr>
                                                        </table>
                                                 <table>
                        <tr>
                            <td>
                                First Name
                            </td>
                            <td>
                                <dxe:ASPxTextBox ID="ASPxTextBox15" Width="140" runat="server" Text='<%# Bind("FirstName")%>'>
                                </dxe:ASPxTextBox>
                            </td>
                            <td>
                                Middle Name
                            </td>
                            <td>
                                <dxe:ASPxTextBox ID="ASPxTextBox16" Width="140" runat="server" Text='<%# Bind("MiddleName")%>'>
                                </dxe:ASPxTextBox>
                            </td>
                            <td>
                                Last Name
                            </td>
                            <td>
                                <dxe:ASPxTextBox ID="ASPxTextBox161" Width="140" runat="server" Text='<%# Bind("LastName")%>'>
                                </dxe:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Tel
                            </td>
                            <td>
                                <dxe:ASPxTextBox ID="ASPxTextBox17" Width="140"
                                    runat="server" Text='<%# Bind("Tel")%>'>
                                </dxe:ASPxTextBox>
                            </td>
                            <td>
                                Fax
                            </td>
                            <td>
                                <dxe:ASPxTextBox ID="ASPxTextBox18" Width="140"
                                    runat="server" Text='<%# Bind("Fax")%>'>
                                </dxe:ASPxTextBox>
                            </td>
                            <td>
                                Email
                            </td>
                            <td>
                                <dxe:ASPxTextBox ID="ASPxTextBox19" Width="140" ClientInstanceName="txt_InvNo" runat="server"
                                     Text='<%# Bind("Email")%>'>
                                </dxe:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Phone
                            </td>
                            <td>
                                <dxe:ASPxTextBox ID="ASPxTextBox20" Width="140"
                                    runat="server" Text='<%# Bind("Mobile")%>'>
                                </dxe:ASPxTextBox>
                            </td>
                            <td>
                                JobTitle
                            </td>
                            <td>
                                <dxe:ASPxTextBox ID="ASPxTextBox21" Width="140"
                                    runat="server" Text='<%# Bind("JobTitle")%>'>
                                </dxe:ASPxTextBox>
                            </td>
                            <td>
                               Department
                            </td>
                            <td>
                                <dxe:ASPxComboBox ID="ASPxTextBox22" Width="140" runat="server" Text='<%# Bind("Department")%>'>
                                <Items>
                                <dxe:ListEditItem Text="Account" Value="Account" />
                                </Items>
                                </dxe:ASPxComboBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Remarks
                            </td>
                            <td colspan="5">
                                <dxe:ASPxMemo ID="ASPxMemo1" Width="640" Rows="3" runat="server" Text='<%# Bind("Remark")%>'>
                                </dxe:ASPxMemo>
                            </td>
                        </tr>
                        
                    </table>


                                                </EditForm>
                                                </Templates>
                                            </dxwgv:ASPxGridView> 
                                        </dxw:ContentControl>
                                    </ContentCollection>
                                </dxtc:TabPage> 
                               </tabpages>
                    </dxtc:ASPxPageControl>
                </EditForm>
            </Templates>
        </dxwgv:ASPxGridView>


        </td>
        </tr>
        </table>


        </ContentTemplate>
    </asp:UpdatePanel>
    </td>
    
    
    
    </tr>
    </table>  
        
    </div>
    </form>
</body>
<style>
.dxbButton {   	font-size: 11px; height:18px; }
.dxeEditArea { font-size:11px; height:17px;}
</style>
</html>
